My setup is as follows.
KFlop board
KStep board
Windows XP pro SP3
Mach 3 --R 3.043.066
KMotion ver 4.32
3 axis Router with "A" slaved to "Y" open loop normal stepping
All motors are nema 34, 200 steps / rev
16,598 pulses per inch
I am wanting to control the spindle run /speed in mach 3
Hitachi Inverter WJ200 analog in.
Connections
Stepper J33 > Inverter
5 > H Analog 10 Vdc
6 > O Analog Voltage input
7 > L Analog Ground
drive settings 20- 400 hZ
Analog in min 0%
Analog in Max 33.3% 3.3volt Vdc
Analog speed min 20 hZ
Analog speed max 400 hZ
Analog speed reference is terminal
I checked voltage from 5 to 7 and got 10 Vdc
I checked 6 to 7 with the spindle running and 100% speed selected and got Zero Vdc
I am using the C Code included in ver 4.32 and setting it up in mach3 like the example shows for the Mach3 plugin.
I used the KStep version of the Spindle program "SpindleMach3KStep.c" first and it runs the spindle for just a second then stops. you have to init the KFlop system before it will run again for a second.
I switched to the example code "SpindleMach3DAC.c"and it runs from mach3 but no speed control
As soon as this is functional I will be installing the limit switches and using the homing C-code. when I tried to compile and load the file "HomeMach3.c" per the example it gave a error of pointer expected at the line that saves the limit settings.
The limits switches will be connected to JP33 of the stepper, Please recommend inputs for the simple home program using KStep and Mach3
Thanks,
Phil